<?php

class Language {
    private $id;
    private $code;
    private $text;

    public function __construct() {
        $this->id=1;
        $this->code="it";
        $this->text="Italiano";
    }

    public function getId() {
        return $this->id;
    }

    public function getCode(){
        return $this->code;
    }

    public function getText(){
        return $this->text;
    }

    public function setId($id){
        $this->id=$id;
    }

    public function setCode($code){
        $this->code=$code;
    }

    public function setText($text){
        $this->text=$text;
    }
}
?>
